package com.qfedu.mapper;

import com.github.pagehelper.PageInfo;
import com.qfedu.entity.BoxEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BoxMapper {
    public BoxEntity queryBox(@Param("bid") int bid);

    //查询所有
    public List<BoxEntity> queryall();
    //停启用
    public boolean qiyong(int bid,int bzt);
    //删除
    public boolean delbox(int bid);
    //修改
    public boolean updbox(BoxEntity be);
    //添加
    public boolean addbox(BoxEntity be);
    //分页
    public List<BoxEntity> fenyebox(BoxEntity be);
    //选择删除
    public boolean delByIds(@Param("bids") String bids);
}
